package com.ruoyi.bearing.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 最优诊断与预测模型对象 optimized_model
 */
public class OptimizedModel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 最优诊断模型
     */
    @Excel(name = "最优诊断模型")
    private String diagnosisModel;

    /**
     * 最优预测模型
     */
    @Excel(name = "最优预测模型")
    private String rulModel;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setDiagnosisModel(String diagnosisModel) {
        this.diagnosisModel = diagnosisModel;
    }

    public String getDiagnosisModel() {
        return diagnosisModel;
    }

    public void setRulModel(String rulModel) {
        this.rulModel = rulModel;
    }

    public String getRulModel() {
        return rulModel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("diagnosisModel", getDiagnosisModel())
                .append("rulModel", getRulModel())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
